Auto digitizing for embroidery